import service from "@/utils/request";

export default {
  /**
   * 查询进货申请
   * @param params
   * @returns {Promise<AxiosResponse<any>>}
   */
  applyList (params) {
    return service.get('/purchase/queryApply', { params })
  },

  /**
   * 审核申请
   * @param data
   * @returns {Promise<AxiosResponse<any>>}
   */
  review (data) {
    return service.post('/purchase/reviewForm', data)
  }
}
